import { getAction } from './manage'

// 获取首页数量统计
const number = (params) => getAction('/admin/home/statistics/number', params)
// 获取首页用户统计
const userAnalysis = (params) => getAction('/admin/home/statistics/userAnalysis', params)
// 获取首页热点接口统计
const hotsApi = (params) => getAction('/admin/home/statistics/hotsApi', params)
// 获取首页接口处理时长统计
const handlerTime = (params) => getAction('/admin/home/statistics/handlerTime', params)

export {
  number,
  userAnalysis,
  hotsApi,
  handlerTime
}
